package com.learnyou.server.xingzuo.dto.resultDTO;

import com.learnyou.server.xingzuo.common.enums.CommonStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CourseFlatDTO {
    @ApiModelProperty(value = "课程id")
    private String id;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程编码")
    private String courseCode;

    @ApiModelProperty(value = "课程描述说明")
    private String courseRemark;

    @ApiModelProperty(value = "课程计划id")
    private String scheduleId;

    @ApiModelProperty(value = "计划名称")
    private String scheduleName;

    @ApiModelProperty(value = "计划开始的时间")
    private String scheduleStartTime;

    @ApiModelProperty(value = "计划结束的时间")
    private String scheduleEndTime;

    @ApiModelProperty(value = "上课周期, 周几执行计划（周一～周日分别为1～7）")
    private List<Integer> scheduleWeeks;

    @ApiModelProperty(value = "课程计划描述")
    private String scheduleRemark;

    @ApiModelProperty(value = "课程计划开启日期")
    private Date scheduleStartDate;

    @ApiModelProperty(value = "课程计划状态： ENABLE/DISABLE")
    private CommonStatus scheduleStatus;
}
